package com.elvin.wx.beans;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * <p>
 * 无线设备表
 * </p>
 *
 * @author zhenchl
 * @since 2022-01-14
 */
@TableName("fn_wireless_device")
public class WireDevBase extends Model<WireDevBase> {

    private static final long serialVersionUID = 1L;
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 产品名称
     */
    private String proTitle;

    /**
     * 产品ID
     */
    private String proId;
    /**
     * Master-APIkey
     */
    private String masterApikey;
    /**
     * access key
     */
    private String accessKey;
    /**
     * 设备名称
     */
    private String devTitle;
    /**
     * 设备ID
     */
    private String devId;

    /**
     * nbiot设备的身份码
     */
    private String imei;
    /**
     * 是否在线
     */
    private Boolean online;

    /**
     * 压力实时数据数据流id
     */
    private String aDeviceId;
    /**
     * 报警数据数据流id
     */
    private String bDeviceId;
    /**
     * 通信状态数据流id
     */
    private String cDeviceId;
    /**
     * 设备量程数据流id
     */
    private String dDeviceId;
    /**
     * 设备分类数据流id
     */
    private String eDeviceId;
    /**
     * 其他数据流id
     */
    private String fDeviceId;
    /**
     * 其他数据流id
     */
    private String gDeviceId;
    /**
     * 其他数据流id
     */
    private String hDeviceId;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建日期", required =false,hidden=true)
    private Date createTime;

    private String deviceCode ; // 设备编号
    private String manufacturer ; // 生产厂家
    private Integer deviceScenarios ; // 设备场景
    private String deviceType ; //      设备类型
    private String accuracyLevel ; //   准确度等级
    private String modelNumber ; // 设备型号
    private String communicationMode ; //  通讯方式
    private String protocolType ; //   协议类型
    private String status ; //     设备状态 0 正常  1 已删除
    private String organizeId;//组织id


    @ApiModelProperty(hidden=true)
    @TableField(exist = false)
    @JsonIgnore
    private PageVo pageVo;						//分页

    public String getOrganizeId() {
        return organizeId;
    }

    public void setOrganizeId(String organizeId) {
        this.organizeId = organizeId;
    }

    public PageVo getPageVo() {
        return pageVo;
    }
    public void setPageVo(PageVo pageVo) {
        this.pageVo = pageVo;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProTitle() {
        return proTitle;
    }

    public void setProTitle(String proTitle) {
        this.proTitle = proTitle;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getMasterApikey() {
        return masterApikey;
    }

    public void setMasterApikey(String masterApikey) {
        this.masterApikey = masterApikey;
    }

    public String getAccessKey() {
        return accessKey;
    }

    public void setAccessKey(String accessKey) {
        this.accessKey = accessKey;
    }

    public String getDevTitle() {
        return devTitle;
    }

    public void setDevTitle(String devTitle) {
        this.devTitle = devTitle;
    }

    public String getDevId() {
        return devId;
    }

    public void setDevId(String devId) {
        this.devId = devId;
    }

    public String getImei() {
        return imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public Boolean getOnline() {
        return online;
    }

    public void setOnline(Boolean online) {
        this.online = online;
    }

    public String getaDeviceId() {
        return aDeviceId;
    }

    public void setaDeviceId(String aDeviceId) {
        this.aDeviceId = aDeviceId;
    }

    public String getbDeviceId() {
        return bDeviceId;
    }

    public void setbDeviceId(String bDeviceId) {
        this.bDeviceId = bDeviceId;
    }

    public String getcDeviceId() {
        return cDeviceId;
    }

    public void setcDeviceId(String cDeviceId) {
        this.cDeviceId = cDeviceId;
    }

    public String getdDeviceId() {
        return dDeviceId;
    }

    public void setdDeviceId(String dDeviceId) {
        this.dDeviceId = dDeviceId;
    }

    public String geteDeviceId() {
        return eDeviceId;
    }

    public void seteDeviceId(String eDeviceId) {
        this.eDeviceId = eDeviceId;
    }

    public String getfDeviceId() {
        return fDeviceId;
    }

    public void setfDeviceId(String fDeviceId) {
        this.fDeviceId = fDeviceId;
    }

    public String getgDeviceId() {
        return gDeviceId;
    }

    public void setgDeviceId(String gDeviceId) {
        this.gDeviceId = gDeviceId;
    }

    public String gethDeviceId() {
        return hDeviceId;
    }

    public void sethDeviceId(String hDeviceId) {
        this.hDeviceId = hDeviceId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public Integer getDeviceScenarios() {
        return deviceScenarios;
    }

    public void setDeviceScenarios(Integer deviceScenarios) {
        this.deviceScenarios = deviceScenarios;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getAccuracyLevel() {
        return accuracyLevel;
    }

    public void setAccuracyLevel(String accuracyLevel) {
        this.accuracyLevel = accuracyLevel;
    }

    public String getModelNumber() {
        return modelNumber;
    }

    public void setModelNumber(String modelNumber) {
        this.modelNumber = modelNumber;
    }

    public String getCommunicationMode() {
        return communicationMode;
    }

    public void setCommunicationMode(String communicationMode) {
        this.communicationMode = communicationMode;
    }

    public String getProtocolType() {
        return protocolType;
    }

    public void setProtocolType(String protocolType) {
        this.protocolType = protocolType;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
